﻿--Hides Minimap at login. Written by Flup@EU_Rexxar

local frame = CreateFrame("Frame")
frame:RegisterEvent("PLAYER_ENTERING_WORLD")

function frame:OnEvent(event, ...)
	if event == "PLAYER_ENTERING_WORLD" then
		Minimap:Hide()
	end
end

frame:SetScript("OnEvent", frame.OnEvent)	
